package org.tinygroup.earthworm.test;

import org.tinygroup.earthworm.EarthWorm;
import org.tinygroup.earthworm.impl.OpenSampleTrier;
import org.tinygroup.logger.Logger;
import org.tinygroup.logger.LoggerFactory;

public class ForTestStartTrace {
	private static Logger LOGGER = LoggerFactory.getLogger(ForTestStartTrace.class);
	public static void main(String[] args) {
		EarthWorm.setSampleTrier(OpenSampleTrier.class.getName());
		EarthWorm.startTrace("", "default1");
		EarthWorm.endTrace();
		LOGGER.infoMessage("=============");
		LOGGER.infoMessage("=============");
		EarthWorm.startTrace("", "default2");
		LOGGER.infoMessage("=============");
		EarthWorm.startTrace("", "default3");
		LOGGER.infoMessage("=============");
		EarthWorm.endTrace();
		LOGGER.infoMessage("=============");
		EarthWorm.startTrace("", "default4");
		LOGGER.infoMessage("=============");
		EarthWorm.endTrace();
		LOGGER.infoMessage("=============");
		EarthWorm.endTrace();
	}
}
